<template>
  <div class="applications">
       <Slideshow></Slideshow>
       <div class="content">
        <div class="wydham">
          <div class="titles">
            <h3>4S集团店</h3>
            <span class="bules-1"></span>
            <span class="long-1"></span>
          </div>
          <div class="wydham-list">
            <ul>
              <li v-for="(wydhams, index) in listImage" :key="index">
                <div>
                  <img :src="wydhams.cover" alt="厂家图片">
                </div>
                <p>{{wydhams.name}}</p>
              </li>
            </ul>
          </div>
        </div>
        <div class="partner">
          <div class="titles-1">
          <h3>整车合作厂家</h3>
          <span class="bules-2"></span>
          <span class="long-2"></span>
          </div>
          <div class="partner-list">
            <ul>
              <li v-for="(partners, index) in listImageTwo" :key="index">
                <img :src="partners.cover" alt="厂家图片">
                <p>{{partners.name}}</p>
              </li>
            </ul>
          </div>
        </div>
       </div>
       <Footer></Footer>
       <Fixeds></Fixeds>
       <Dialog></Dialog>  
  </div>
</template>
 <script>
import Slideshow from '../../common/Slideshow'
import Footer from "../../common/Footer"
import Fixeds from "../../common/Fixeds"
import Dialog from "../../common/Dialog"
export default {
  name: "Application",
  components: {
    Slideshow,
    Footer,
    Fixeds,
    Dialog
  },
  data(){
    return{
      listImage: [],
      listImageTwo: []
    }
  },
  mounted(){
      var node = this;
      window.$.get(this.apiUrl + '/ads?type=4s', {}, function (res) {
          node.listImage = res.data;
      });
      window.$.get(this.apiUrl + '/ads?type=car_company',{}, function (res) {
          node.listImageTwo = res.data;
      })
  }
}
</script>
<style scoped>
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
p,
blockquote,
th,
td {
  overflow: hidden;
}
.applications{
  width: 100%;
  height: auto;
}
.applications .content{
  width: 1230px;
  height: auto;
  margin: 50px auto 100px;
}
.applications .content .wydham{
  width: 1230px;
  height: auto;
}
.applications .content .wydham .titles{
  width: 1200px;
  height: 54px;
  position: relative;
}
.applications .content .wydham .titles h3{
  width: 100%;
  height: 38px;
  font-size: 36px;
  color: #110567;
  line-height: 38px;
}
.applications .content .wydham .titles .bules-1{
  display: inline-block;
  width: 151px;
  border-top: 3px solid #009ae9;
  margin-top: 7px;
}
.applications .content .wydham .titles .long-1{
  display: inline-block;
  width: 1200px;
  border-top: 1px solid #e8e8e8;
  position: absolute;
  bottom: 0;
}
.applications .content .wydham .wydham-list{
  width: 1230px;
  height: auto;
  margin-top: 40px;
}
.applications .content .wydham .wydham-list ul li{
  width: 145px;
  height: 140px;
  float: left;
  margin-left: 100px;
}
.applications .content .wydham .wydham-list ul li:nth-child(1),.applications .content .wydham .wydham-list ul li:nth-child(6),.applications .content .wydham .wydham-list ul li:nth-child(11),.applications .content .wydham .wydham-list ul li:nth-child(16){
  margin-left: 0;
}
.applications .content .wydham .wydham-list ul li div{
  width: 100px;
  height: 100px;
  margin: 0 auto;
}
.applications .content .wydham .wydham-list ul li img{
  width: 100%;
  height: auto;
}
.applications .content .wydham .wydham-list ul li p{
  width: 100%;
  height: auto;
  color: #000;
  font-size: 18px;
  text-align: center;
}
.applications .content .partner{
  width: 1230px;
  height: auto;
  margin-top: 100px;
}
.applications .content .partner .titles-1{
  width: 1200px;
  height: 54px;
  position: relative;
}
.applications .content .partner .titles-1 h3{
  width: 100%;
  height: 38px;
  font-size: 36px;
  color: #110567;
  line-height: 38px;
}
.applications .content .partner .titles-1 .bules-2{
  display: inline-block;
  width: 224px;
  border-top: 3px solid #009ae9;
  margin-top: 7px;
}
.applications .content .partner .titles-1 .long-2{
  display: inline-block;
  width: 1200px;
  border-top: 1px solid #e8e8e8;
  position: absolute;
  bottom: 0;
}
.applications .content .partner .partner-list{
  width: 1230px;
  height: auto;
  margin-top: 40px;
}
.applications .content .partner .partner-list ul li{
  width: 110px;
  height: 140px;
  float: left;
  margin-left: 110px;
}
.applications .content .partner .partner-list ul li:nth-child(1),.applications .content .partner .partner-list ul li:nth-child(7),.applications .content .partner .partner-list ul li:nth-child(13),.applications .content .partner .partner-list ul li:nth-child(19){
  margin-left: 0;
}
.applications .content .partner .partner-list ul li img{
  width: 100px;
  height: 100px;
}
.applications .content .partner .partner-list ul li p{
  width: 100%;
  height: auto;
  color: #000;
  font-size: 18px;
  text-align: center;
}
</style>
    
    